﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace YXShop.Web.product
{
    public partial class product_onlinesignup_form : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (ChangeHope.WebPage.PageRequest.GetQueryInt("q_productid") > 0 && ChangeHope.WebPage.PageRequest.GetQueryInt("q_activityid") > 0)
            {
                string content = YXShop.TemplateAction.Common.YXShop_PageContent("product_onlinesignup_form");
                if (content.IndexOf("[#ProductID]") > -1)
                {
                    content = content.Replace("[#ProductID]", ChangeHope.WebPage.PageRequest.GetQueryInt("q_productid").ToString());
                    if (content.IndexOf("[#ActivityId]") > -1)
                    {
                        content = content.Replace("[#ActivityId]", ChangeHope.WebPage.PageRequest.GetQueryInt("q_activityid").ToString());
                        Response.Write(content);
                    }
                }
                else
                {
                    Response.Write("页面出错！");
                }

            }
        }
    }
}
